import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Material
import QtQuick.Layouts

ApplicationWindow {
    id: window
    width: 1024
    height: 768
    visible: true
    title: qsTr("文件夹对话框示例")
    
    Material.theme: Material.Light
    Material.accent: Material.Blue
    Material.primary: Material.Indigo

    header: TabBar {
        id: tabBar
        width: parent.width
        
        TabButton {
            text: qsTr("文件夹浏览器")
        }
    }

    StackLayout {
        anchors.fill: parent
        currentIndex: tabBar.currentIndex

        FolderBrowser {
        }
    }
}
